/*
 * @Description: 清单列表
 * @Author: Zzt
 * @Date: 2022-08-15 16:20:47
 * @LastEditTime: 2022-08-17 17:56:02
 */
import { Button } from 'antd';
import { ArrowLeftOutlined } from '@ant-design/icons';
import PageOperate from './components/PageOperate';
import styles from './styles/ListList.module.scss';
import classNames from 'classnames/bind';
import PageList from './components/PageList';
import { BackupListContextProvider } from './contexts/BackupListContext';
// import { useParams } from 'react-router-dom';

const cx = classNames.bind(styles);

const BackupList = (props: any) => {
  const Back = () => {
    window.history.back();
  };
  return (
    <BackupListContextProvider>
      <Button type="primary" shape="circle" icon={<ArrowLeftOutlined />} onClick={Back}></Button>
      返回
      <div className={cx('content-wrap')}>
        <PageOperate />
        <PageList />
      </div>
    </BackupListContextProvider>
  );
};
export default BackupList;
